package pers.ycm.nacos.client;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 */
@SpringBootApplication(scanBasePackages = {"pers.ycm.nacos.client.*"})
@NacosPropertySource(dataId = "client-config.properties", autoRefreshed = true)
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
